package org.lanqiao.tjut.bean;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 电表实体类
 * @author Kui
 *
 */
public class PowerBean {
	//电表编号
    private String pId;

    //用户编号
    private String userId;

    //用户姓名
    private String userName;

    //用户电话
    private Long userTel;

    //缴费时间
    private Date pTime;

    //本月已经用电量
    private BigDecimal pCount;

    //应该缴费金额
    private BigDecimal pStatus;

    //单价
    private BigDecimal pPriceid;

    //截至上月共缴费金额
    private BigDecimal pBeforecount;

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId == null ? null : pId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Long getUserTel() {
        return userTel;
    }

    public void setUserTel(Long userTel) {
        this.userTel = userTel;
    }

    public Date getpTime() {
        return pTime;
    }

    public void setpTime(Date pTime) {
        this.pTime = pTime;
    }

    public BigDecimal getpCount() {
        return pCount;
    }

    public void setpCount(BigDecimal pCount) {
        this.pCount = pCount;
    }

    public BigDecimal getpStatus() {
        return pStatus;
    }

    public void setpStatus(BigDecimal pStatus) {
        this.pStatus = pStatus;
    }

    public BigDecimal getpPriceid() {
        return pPriceid;
    }

    public void setpPriceid(BigDecimal pPriceid) {
        this.pPriceid = pPriceid;
    }

    public BigDecimal getpBeforecount() {
        return pBeforecount;
    }

    public void setpBeforecount(BigDecimal pBeforecount) {
        this.pBeforecount = pBeforecount;
    }

	@Override
	public String toString() {
		return "PowerBean [pId=" + pId + ", userId=" + userId + ", userName=" + userName + ", userTel=" + userTel
				+ ", pTime=" + pTime + ", pCount=" + pCount + ", pStatus=" + pStatus + ", pPriceid=" + pPriceid
				+ ", pBeforecount=" + pBeforecount + "]";
	}
    
}